package com.yangtao.prototype.system.role.web;

import com.yangtao.framework.common.Option;
import com.yangtao.framework.web.struts2.BaseModel;
import com.yangtao.prototype.common.tree.CheckBoxTree;
import com.yangtao.prototype.system.domain.Role;

import java.util.List;

public class RoleModel extends BaseModel {
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 当前角色
	 */
	private Role role = new Role();
	/**
	 * 当前用户可分配的菜单
	 */
	private List<CheckBoxTree> menu;
	/**
	 * 角色的菜单权限
	 */
	private String roleAuth;
	/**
	 * 当前用户可分配的组织机构
	 */
	private List<Option> organization;

	public List<Option> getOrganization() {
		return organization;
	}

	public void setOrganization(List<Option> organization) {
		this.organization = organization;
	}

	public String getRoleAuth() {
		return roleAuth;
	}

	public void setRoleAuth(String roleAuth) {
		this.roleAuth = roleAuth;
	}

	public List<CheckBoxTree> getMenu() {
		return menu;
	}

	public void setMenu(List<CheckBoxTree> menu) {
		this.menu = menu;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}
